pow

pure function pow(exponent: integer): big_integer

Raise this big_integer to the power of the given exponent. SQL compatible.

Note that:

  • the exponent cannot be negative

  • if the exponent is 0, the result is 1

  • if the exponent is 1, the result is the original value

Since

0.13.6

Parameters

exponent

the exponent

Throws

exception

on overflow, i.e. if the result is out of big_integer range